package com.ax.business.prescription.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ax.business.prescription.domain.BaseAssociator;

@Mapper
public interface BaseAssociatorMapper {
    int deleteByPrimaryKey(Long associatorId);

    int insert(BaseAssociator record);

    int insertSelective(BaseAssociator record);

    BaseAssociator selectByPrimaryKey(Long associatorId);

    int updateByPrimaryKeySelective(BaseAssociator record);

    int updateByPrimaryKey(BaseAssociator record);
    
    //验证是否存在该会员
    Integer IfexistAssociator(String personId);
    
    /**
	 * 查询会员(模块:会员中心)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return PageUtils
	 */
    List<BaseAssociator> queryAssociatorMapper(Map<String,Object> map);
    
    /**
	 * 总计分页(模块:会员中心)
	 * 
	 * @param Map<String, Object> map
	 *           
	 * @return Integer
	 */
    Integer count(Map<String,Object> map);
}